home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-13 / qeditq_a.zip / QEDITQ&A.TXT < prev   
Text File  |  1991-11-04  |  15KB  |  367 lines

  1.             QEdit:        Common Questions and Answers
  2.                           ----------------------------
  3.  
  4.  KEYBOARD
  5. ------------
  6.  
  7. QUESTION:   I try to use the "*","-", and "+" key on my numeric keypad and
  8. it doesn't seem to work.
  9.  
  10. ANSWER:     By default QEdit has the Paste, Cut, and Copy commands assigned
  11. to these keys. They are referred to as the "grey*", "grey-", and "grey+"
  12. keys. If you want to use these keys at "Face-value", then unassign them in
  13. your keyboard definition file.
  14. See page B-2 in the printed manual for a listing of these keys.
  15.  
  16.  
  17. QUESTION:   I have a NorthGate keyboard that has an additional "*" key, but
  18. it doesn't seem to work.
  19.  
  20. ANSWER:     This extra "*" key is the same as the "grey*" key. Please see
  21. the previous Question and Answer.  Reader's note:  The two grey colored "*"
  22. keys on the Northgate OmniKey/Ultra keyboard both are the grey * key.
  23.  
  24.  
  25. QUESTION:   I can't get the F11 and F12 keys to work.
  26.  
  27. ANSWER:     The F11 and F12 keys are present on "Enhanced Keyboards", also
  28. known as the 101-key keyboards.
  29.     By default, QEdit has enhanced keyboard testing turned off. Run
  30. Qconfig.exe, select Advanced options, and answer Yes to "Test for presence
  31. of enhanced keyboard (Y/N)? ". Be sure that you Save your changes when you
  32. quit Qconfig.exe. As long as you have an "Enhanced Keyboard" and also a Rom
  33. Bios that recognizes the Enhanced keyboard, you will be able to use these
  34. additional keys.
  35.     For a list of the "Enhanced Keyboard" keys, see page B-6 in the printed
  36. manual.
  37.  
  38.  
  39. QUESTION:   My TSR will not pop up over QEdit, why?
  40.  
  41. ANSWER:     Some TSR's will not pop-up when Enhanced keyboard calls are
  42. being made. Run Qconfig.exe, select Advanced options, and answer NO to "Test
  43. for presence of enhanced keyboard (Y/N)? ". Be sure that you Save your
  44. changes when you quit Qconfig.exe. This should allow your TSR to pop-up.
  45. If you have Enhanced Keyboard testing turned off, you will not be able to
  46. access commands that you have assigned to the F11, F12, and other enhanced
  47. keys. For a list of the Enhanced keyboard keys, see page B-6 in the printed
  48. manual.
  49.  
  50.  
  51. QUESTION:   My Tab key doesn't seem to work right. What is wrong?
  52.  
  53. ANSWER:     It's possible that you have ToggleSmartTabs ON. Make sure that
  54. ToggleSmartTabs is OFF. Please see pages 1-41 and 3-23 in the printed manual
  55. for a description of the ToggleSmartTabs command.
  56.  
  57.  
  58.  TEXT ENTRY AND MANIPULATION:
  59. ------------------------------
  60.  
  61. QUESTION:   How can I enter _ANY_ ASCII character in QEdit?
  62.  
  63. ANSWER:     Any ASCII character having a decimal value of 0-255 can be
  64. entered into a text file while in QEdit using one of the following methods:
  65.  
  66.                                 ASCII 1-255:
  67.  
  68.     Press and hold the <ALT> key. Now, using the numeric keypad (this is the
  69. keypad that is usually located on the right hand side of the keyboard), type
  70. the decimal value of the Ascii character that you want. Now release the
  71. <ALT> key and you should have the character placed in your text. (If you
  72. have a problem entering an ASCII 240, see the discussion in this section.)
  73.  
  74.                                   ASCII 0:
  75.  
  76.     To enter the NULL character (Ascii 0) into your text, first use QEdit's
  77. literal command (our default <CTRL P> ) and then press <CTRL @>. You will
  78. get the NULL character placed in your text (it will look like a space).
  79.  
  80.     For more information on the Alt numeric keypad see the QEdit tip on page
  81. 1-26 of the printed manual. For more information on the Literal command see
  82. pages 1-25 and 3-12 in the printed manual.
  83.  
  84.  
  85. QUESTION:   How can I change a lower case character to an Upper case one or
  86. Vice-versa?
  87.  
  88. ANSWER:     QEdit has 3 case changing commands. They are Upper, Lower, and
  89. Flip. These commands can be used to force uppercase, lowercase, or
  90. togglecase at the cursor position OR on all characters in a marked block (if
  91. the cursor is within the marked block).
  92.  
  93.  
  94. QUESTION:   How can I enter page breaks into my text?
  95.  
  96. ANSWER:     You can enter a Form-feed character into your text by using the
  97. Literal command (our default <CTRL P> ) followed by <CTRL L>. You can also
  98. use the Alt-numeric keypad method (described previously). Hold the <ALT> key
  99. and type 12 on the numeric keypad, then release the <ALT> key.
  100.  
  101.  
  102. QUESTION:   I am writing batch files and QEdit puts a carriage return/line
  103. feed on the last line of a file. How can I keep from getting the double Dos
  104. prompt when my batch file is done?
  105.  
  106. ANSWER:     QEdit writes a carriage return/line feed pair at the end of each
  107. line whenever a file is saved. If you don't want the carriage return/line
  108. feed on the last line of a batch file to be "SEEN" by Dos, then enter a Ctrl
  109. Z as the last character on the last line. Dos will stop processing the batch
  110. file when the ctrl Z is reached so you won't get the double prompt.
  111.  
  112.  
  113. QUESTION:   How do I enter a NULL character into my text?
  114.  
  115. ANSWER:     Use QEdit's Literal command (our default <CTRL P>) immediatly
  116. followed by <CTRL @>. This will place a NULL (ASCII 0) character in your
  117. text. Please see the discussion of the Literal command in this section.
  118.  
  119.  
  120. QUESTION:   How can I draw boxes in QEdit?
  121.  
  122. ANSWER:     Use the ToggleBoxDraw command (our default <SHIFT F1>). When box
  123. drawing mode is on, a "B" will be present in the Status line. You can now
  124. use the cursor keys to draw boxes in your text. To turn box drawing off,
  125. issue the ToggleBoxDraw command again. The "B" will be gone from the status
  126. line.
  127.     You can also select several Box Styles, plus an eraser mode, by using
  128. the ToggleBoxType command (our default <ALT F1>).
  129. See pages 3-22 and E-7 in the printed manual.
  130.  
  131.  
  132. QUESTION:   How can I use a spellchecker with QEdit?
  133.  
  134. ANSWER:     If you want to spell check a file you have loaded in QEdit, you
  135. can save your file and then use the Dos command to run your SpellChecker
  136. program. The easiest way to do this is to create a macro.
  137.  
  138. E.G.  macrobegin EditFile currentfilename return SaveFile Dos
  139.       "c:\somedir\speller " currentfilename return return
  140.       NewFile Return
  141.  
  142.  
  143. QUESTION:   I try to enter an ASCII 240 using the Alt numeric keypad and my
  144. system seems to hang. What can I do?
  145.  
  146. ANSWER:     There is a "Known" problem with some versions of the Phoenix
  147. Bios that occurs when an ASCII 240 is being generated from the numeric
  148. keypad and "Enhanced Keyboard" calls are being made.
  149.     Internally, the bios code enters an infinte loop. To break out of this
  150. loop, Press <CTRL BREAK> and you will again have control of your keyboard.
  151. *NOTE: <CTRL C> will NOT get you out of the loop, you must use <CTRL BREAK>.
  152. If you have enhanced keyboard testing turned off in QEdit, you will not have
  153. this problem.
  154.     As a side note, DOS 4.0 and above also make enhanced keyboard calls and
  155. the above disussion applies there as well.
  156.  
  157.  
  158. QUESTION:   How can I change all the Tab characters in a file to spaces?
  159.  
  160. ANSWER:     Before running QEdit, run Qconfig.exe and select the Tabs
  161. Settings option. The first two questions are as follows:
  162.  
  163. Do you want the editor to start in Physical Tab Expansion Mode (Y/N)?
  164. Make sure you answer Yes to this one.
  165.  
  166. Do you want the editor to start in Tabs Out mode (Y/N)?
  167. Make sure that you answer No to this one.
  168.  
  169.     If you had to make changes, be sure to save your changes before leaving
  170. Qconfig.exe.
  171.  
  172. Now run QEdit with the file that you want to remove the Tab characters in.
  173. Go to the top of the file and issue the Markline command (our default key
  174. assignment is <ALT L>). Now go to the end of the file and issue markline
  175. again. Now issue the Flip command (our default key assignment is <ALT 3>) 2
  176. times. Save your file and quit. This method assumes that your file contains
  177. at least 1 alpha character on each line of the file.
  178.  
  179.  
  180.  FINDING TEXT
  181. --------------
  182.  
  183. QUESTION:   How can I limit a "FIND" or "SEARCH and REPLACE" operation to a
  184. specified area?
  185.  
  186. ANSWER:     The "L" option was added as a way for the user to limit a search
  187. operation to within a marked block area. When prompted for options, just
  188. include "L" with the other options.
  189.  
  190.  
  191. QUESTION:   How can I do a Find and place the found item on the center of
  192. the screen.
  193.  
  194. ANSWER:     Try the following macro:
  195.  
  196. Macrobegin Find Pause Return Pause Return JFalse ENDMACRO: MakeCtrOfScreen
  197. ENDMACRO:
  198.  
  199.  CURSOR MOVEMENT
  200. -----------------
  201.  
  202. QUESTION:   When I use the cursor key in QEdit to move to the right or left,
  203. the cursor stays on the same line when I come to the beginning or end of the
  204. line. How can I have the cursor move to the start of the next line when I
  205. reach the end of the current line OR move to the end of the previous line when
  206. I reach the beginning of the current line?
  207.  
  208. ANSWER:     Assign the following macro in your Qconfig.dat file: (put the
  209. macro on 1 line)
  210.  
  211. cursorleft  MacroBegin CursorLeft JTrue end: CursorUp JFalse end: EndLine
  212. end:
  213.  
  214. cursorright MacroBegin IsEndLine JTrue down: CursorRight Jump
  215. end: down: CursorDown JFalse end: BegLine end:
  216.  
  217.                            **PLEASE NOTE**
  218.  
  219.     You must have QEdit 2.15 or later to use these macros.  Otherwise you
  220. may experience odd side-effects in the menus and other special contexts where
  221. the arrow keys have meaning. The cursorright macro uses the QEdit 2.15
  222. command "IsEndLine".
  223.  
  224.  
  225. QUESTION:   When I am inserting text on a line, wordwrap does not seem to
  226. work.
  227.  
  228. ANSWER:     In order for wordwrap to operate, the cursor has to exceed the
  229. right margin that has been set. Once the right margin has been exceeded and
  230. you type a non-wordset character, the line will wrap.
  231.  
  232.  
  233.  PRINTER
  234. ---------
  235.  
  236. QUESTION:   How can I enter Printer control codes in QEdit?
  237.  
  238. ANSWER:     Please see the TEXT ENTRY AND MANIPULATION section. You will
  239. need to know the ASCII values of the control characters. These values will
  240. be mentioned in your printer manual.
  241.  
  242.  
  243. QUESTION:   I print a file that I have in QEdit, but the Box drawing
  244. characters do not print on my printout.
  245.  
  246. ANSWER:     Check your printer manual and make sure that you have the
  247. printer set up to utilize the Character Graphics Set.
  248.  
  249.  
  250. QUESTION:   How can I have QEdit print to LPT2 or Com1?
  251.  
  252. ANSWER:     QEdit prints to PRN. If you can redirect PRN to LPT2 before you
  253. get into QEdit, then you can use QEdit's print to go to LPT2. If you can't
  254. do this then use the WriteBlock command and specify LPT2 as the filename to
  255. write. WriteBlock uses the marked block, if you have one, otherwise the
  256. whole file is written out. If you use the WriteBlock command to send output
  257. to a printer, you will have to put your own form-feeds in the file if you
  258. want them.
  259.  
  260.  
  261. QUESTION:   How can I get double spaced lines on my printout?
  262.  
  263. ANSWER:     You can use the "print left margin" setting to obtain double and
  264. triple spaced text in most cases. If you have your printer set up so that it
  265. prints 80 characters on a line, then set the "print left margin" in QEdit to
  266. 80. This will cause QEdit to send 80 spaces before printing each line, so
  267. effectively get double spaced lines. If you want triple spacing, then make
  268. the setting 160.
  269.  
  270.  
  271. QUESTION:   I have QEdit sending formfeeds to the printer, but am getting
  272. parts of a page AND some blank pages on my printout.
  273.  
  274. ANSWER:     Make sure that your text does not have some long lines that are
  275. being wrapped by the printer. If your printer wraps at 80 characters on a
  276. line, make sure that your file does not have lines longer than 80
  277. characters.
  278.  
  279.  
  280.  CONFIGURATION
  281. ---------------
  282.  
  283. QUESTION:   I make some changes to QEdit using Qconfig.exe and they do not
  284. take effect.
  285.  
  286. ANSWER:     Make sure that you are using the copy of QEdit that you just
  287. configured. If you are not in the current directory where your newly
  288. configured copy of QEdit is, then check your path to see if you are getting
  289. a different copy of QEdit. Be sure to look for batch files as well as EXE's
  290. and COM's that share the same primary name. I.E. Look for Q.exe, Q.com,
  291. Q.bat along your path.
  292.  
  293.  
  294.  QEDIT COMMANDS
  295. ----------------
  296.  
  297. QUESTION:   When I use the CenterLine command, my text is not centered on the
  298. screen.
  299.  
  300. ANSWER:     The centerline command uses column 1 and the right margin that
  301. you have set as the basis for centering text. If you want the text centered
  302. on the screen, assuming that your screen is 80 columns wide, you can set
  303. your right margin to 80 and then issue the centerline command. If you don't
  304. want to change your right margin, you can use column block marking to mark
  305. your left and right hand margins, then issue the centerline command.
  306.  
  307.  
  308. QUESTION:   How do I get the Sort command to work?
  309.  
  310. ANSWER:     In order to use the Sort command, you must be in a single,
  311. nonzoomed window. You must use the MarkColumn command to mark the range of
  312. lines to sort, and the width of the field to sort on as the key. If you use
  313. any other type of blocking, the sort command will not work.
  314.  
  315.  
  316.  QEDIT COMMAND LINE OPTIONS
  317. ----------------------------
  318.  
  319. QUESTION:   How can I have QEdit run a macro on start-up?
  320.  
  321. ANSWER:     The "-Emacroname" or "/Emacroname" command line switch, will
  322. execute the first macro in macroname. Be sure to specify a path to macroname
  323. if it is not in the current directory. E.G.  Q ABC -Ec:\path\mymacro.mac
  324. will load file ABC and execute the first macro in c:\path\mymacro.mac.
  325. Please note that this switch does not load macroname. If you also want to
  326. load macroname, then use the -L or /L option described in this section.
  327.  
  328.  
  329. QUESTION:   How can I have QEdit pre-load a macro set?
  330.  
  331. ANSWER:     The "-Lmacroname" or "/Lmacroname" command line switch, will
  332. load macroname. Be sure to specify a path to macroname if it is not in the
  333. current directory. E.G.  Q ABC -Lc:\path\mymacro.mac will load file ABC and
  334. load the macrofile c:\path\mymacro.mac.
  335.  
  336.  
  337. QUESTION:   I used to be able to have QEdit load a file and then go to a
  338. certain line number, but now it does not work.
  339.  
  340. ANSWER:     In versions of QEdit prior to version 2.1, going to a specified
  341. line on startup was a configuration program option. This has been replaced
  342. with a command line switch of the format -nLINE# or /nLINE#. I.E. To load
  343. file ABC and immediately go to line# 35 type:  Q ABC -n35
  344.  
  345.  
  346. QUESTION:   How can I have QEdit come up in 43/50 line mode?
  347.  
  348. ANSWER:     Use the "-Emacroname" or "/Emacroname" command line switch to
  349. execute the first macro in macroname. Make sure that the first macro in
  350. macroname uses the SetEGA43 command.
  351.  
  352. Example:  If the first macro in Start.mac is:    MacroBegin SetEGA43
  353.  
  354. Then,  Q ABC -EStart.mac , will load file ABC and then set the screen to
  355. 43/50 line mode.
  356.  
  357.  
  358. QUESTION:   How do I use a QEdit command that is not tied to a key?
  359.  
  360. ANSWER:     If you would like to have the command available at all times,
  361. just assign the command to a key in your keyboard definition file. Once you
  362. have modified your keyboard file, be sure to run the Qconfig.exe program.
  363. Select the Keys option, supply the name of your Keyboard file, then save
  364. your changes and quit the program.
  365.  
  366. You may use all the QEdit commands when creating macros.
  367.